package org.yanghaokun.product.service;

import org.yanghaokun.basic.service.IBaseService;
import org.yanghaokun.product.domain.Product;
import org.yanghaokun.product.domain.ProductDetail;

import java.util.List;

public interface IProductService extends IBaseService<Product> {
    ProductDetail findOneDetail(Long productId);

    void onsaleOrOffsale(int flag, List<Long> ids);

    void bulkDel(List<Long> ids);
}
